package com.zy.explore.generator.infrastructure.core.vo;

/**
 * description 表VO
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2021年04月10日 00:44
 **/

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel("表VO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TableVO {

    @ApiModelProperty("表schema")
    private String tableSchema;

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("表引擎")
    private String engine;

    @ApiModelProperty("表编码")
    private String tableCollation;

    @ApiModelProperty("表备注")
    private String tableComment;

    @ApiModelProperty("表创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
